package top.appx.vo;

import top.appx.entity.OrderEntity;

import java.sql.Timestamp;

/**
 * Created by john on 2015/7/12.
 */
public class OrderVO {
    private OrderEntity entity;
    public OrderVO(OrderEntity entity){
        this.entity = entity;
    }

    public int getId() {
        return entity.getId();
    }

    public String getRname() {
        return entity.getRname();
    }

    public String getIp() {
        return entity.getIp();
    }

    public String getEmail() {
        return entity.getEmail();
    }

    public Integer getFood() {
        return entity.getFood();
    }

    public Timestamp getCreateTime() {
        return entity.getCreateTime();
    }

    public Integer getStatus() {
        return entity.getStatus();
    }

    private FoodVO foodVO;
    public FoodVO getFoodVO() {
        return foodVO;
    }

    public void setFoodVO(FoodVO foodVO) {
        this.foodVO = foodVO;
    }
}
